package com.example.supplychainbackend.service;

import com.example.supplychainbackend.controller.dto.supervise.ComplaintDto;
import com.example.supplychainbackend.controller.dto.supervise.EnterpriseCertApplyDto;
import com.example.supplychainbackend.controller.dto.supervise.ProductionCertApplyDto;
import com.example.supplychainbackend.controller.dto.supervise.TraceApplyDto;
import com.example.supplychainbackend.entity.supervise.ComplaintEntity;

import java.util.List;

public interface SuperviseService {

    List<TraceApplyDto> listTraceApplys();

    Integer reviewTraceApply(String id, int type);
    ComplaintEntity createComplaint(ComplaintDto dto);
    List<ComplaintDto> listComplaints();
    ComplaintDto reviewComplaint(String id);

    List<EnterpriseCertApplyDto> listEnterpriseCertApplies();

    Long reviewEnterpriseCertApply(Long id, Integer type);

    List<ProductionCertApplyDto> listProductionCertApplies();

    Long reviewProductionCertApply(Long id, Integer type);
}
